home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / security / doc / cert_advisories / CA-92:17.HP.NIS.ypbind.vulnerability < prev    next >
Encoding:
Text File  |  1992-10-04  |  15.8 KB  |  435 lines

  1.  
  2. =============================================================================
  3. CA-92:17                            CERT Advisory
  4.                                 October 5, 1992
  5.                     Hewlett-Packard NIS ypbind Vulnerability
  6.  
  7. -----------------------------------------------------------------------------
  8.  
  9. The CERT Coordination Center has received information concerning a
  10. vulnerability in the NIS ypbind module for the Hewlett-Packard (HP)
  11. HP/UX Operating System for series 300, 700, and 800 computers. 
  12.  
  13. HP is aware of the problem and has produced patches for HP/UX 8.xx
  14. versions.  This problem is fixed in HP/UX 9.0.
  15.  
  16. Architecture  Patch ID    Filename                      Checksum
  17.  
  18. Series 300    PHNE_1359   /hp-ux_patches/s300_400/8.X/PHNE_1359   39206 214
  19. Series 700    PHNE_1360   /hp-ux_patches/s700/8.X/PHNE_1360       37915 299
  20. Series 800    PHNE_1361   /hp-ux_patches/s800/8.X/PHNE_1361       44288 299
  21.  
  22. The checksums listed above are for the patch archive files from HP.
  23. Once unpacked, each shell archive contains additional checksum 
  24. information in the file "patchfilename.text".  This checksum is
  25. applicable to the binary patch file "patchfilename.updt".
  26.  
  27. These patches may be obtained from HP via ftp (this is NOT anonymous
  28. ftp) or the HP SupportLine.  To obtain HP security patches, you must first
  29. register with the HP SupportLine.  The registration instructions described
  30. below will not be included in future advisories.
  31.  
  32. If you have any questions about obtaining or installing the patches,
  33. contact the USA HP SupportLine at 415-691-3888, or your local HP
  34. SupportLine number.  Please note that the telephone numbers in this
  35. advisory are appropriate for the USA and Canada. 
  36.  
  37. -----------------------------------------------------------------------------
  38.  
  39. I.   Description
  40.  
  41.      A vulnerability in HP NIS allows remote NIS servers unauthorized
  42.      access to local NIS hosts.  An HP NIS client will accept ypset
  43.      requests from hosts outside its NIS domain.
  44.  
  45. II.  Impact
  46.  
  47.      Root on a remote host running any vendor's implementation of NIS
  48.      can gain root access on any local host running HP's NIS ypbind. 
  49.  
  50. III. Solution
  51.         
  52.      All HP NIS clients and servers running ypbind should obtain and 
  53.      install the patch, as detailed below.
  54.  
  55.      The two sections below include the instructions for registering
  56.      with the HP SupportLine and obtaining the HP security patches,
  57.      and for installing the patch provided by HP.  The instructions
  58.      for installing the patch are also provided in the PHNE_xxxx.text
  59.      file (this file is created after the patch has been unpacked). 
  60.  
  61. ============================================================================
  62.                 Beginning of Text provided by Hewlett-Packard
  63. ============================================================================
  64. HP SupportLine Registration Instructions
  65.  
  66. HP SupportLine phone number:  415-691-3888.
  67.  
  68. There are three categories for obtaining the security patches:
  69.  
  70.  1) Eligible HP SupportLine customers (who have a software support
  71.     contract or have recently purchased an HP 9000) who access via a
  72.     terminal or modem.
  73.  2) Eligible HP SupportLine customers who would access via Internet.
  74.  3) Customers not currently accessing HP SupportLine.
  75.  
  76. For category 1:
  77. ---------------
  78. Step 1: Dial 415-691-3680.
  79.  
  80. Step 2: When your communications program indicates that you are
  81. connected, press "return".  The system prompt, ":" or "login:",
  82. should appear.
  83.  
  84. Step 3: If your system prompt is ":", log on to the HP SupportLine 
  85. account by typing "HELLO USER.HPSL", followed by "return".
  86.         If your system prompt is "login:", log on by typing "login:
  87. hpsl", followed by "return".
  88.  
  89. Step 4: When prompted, type your system handle and password, each
  90. followed by "return".  Both your system handle and password are
  91. provided in the cover letter you received with your "Getting Started
  92. Kit". 
  93.  
  94. Step 5: Press "return" until the HP SupportLine Top Menu screen is
  95. displayed.  If your terminal does not support block mode, you should
  96. enable HPSL's line editor by typing "SET EDITOR LINE" at the command
  97. prompt and entering "return". 
  98.  
  99. For category 2:
  100. ---------------
  101. Step 1:   HP 9000, HP Apollo, and HP 64000 system users who have been 
  102. authorized by the National Science Foundation (NSF) to use Internet
  103. may access HP SupportLine over the Internet.  Connect to HP
  104. SupportLine using the address provided in your "Getting Started Kit".
  105. An example U.S. login is 
  106.  
  107.               telnet 192.6.148.19
  108.                      or
  109.               telnet support.mayfield.hp.com
  110.  
  111. Step 2:   Once you access HP SupportLine, type "hpsl" at the "login:" 
  112. prompt. 
  113.  
  114. Step 3:   When prompted, enter your system handle and password, each 
  115. followed by "return".  Both your system handle and password are
  116. provided in the cover letter you received with your "Getting Started
  117. Kit". 
  118.  
  119. Step 4:   Press "return" until the HP SupportLine Top Menu is
  120. displayed. 
  121.  
  122.  
  123. Step 5:   At the Top Menu, choose "3   Patch support information" by 
  124. typing "3" at the "Select an item or enter a command (? for help) :"
  125. prompt.  This will put you in the Patch Support Information Menu.
  126.  
  127. Step 6:   At the Patch Support Information Menu, choose "3   Retrieve 
  128. patch file transfer login" to get your patch file transfer login by
  129. typing "3" at the "Select an item or enter a command (? for help) :"
  130. prompt.  This will put you at a screen to choose the method for patch
  131. file transfers.  The choices are ftp, kermit, and uucp.  To choose
  132. ftp, type "1" at the "Enter selection :" prompt.  The next screen will
  133. display your patch file transfer method and your patch file transfer
  134. login.  You will use the *SAME* patch file login when you ftp patch
  135. file(s).  
  136.  
  137. Step 7:   When you exit the HP SupportLine, by typing "E" at the
  138. "Select an item or enter a command (? for help) :" prompt, the
  139. connection is closed. 
  140.  
  141. Step 8:   FTP to
  142.  
  143.         192.6.148.19
  144.              or
  145.         support.mayfield.hp.com
  146.  
  147. Step 9:   At the "Name (support.mayfield.hp.com:username):" prompt,
  148. type your patch file transfer login.
  149.  
  150. Step 10:  At the "Password:" prompt, type your password assigned to
  151. you by Hewlett-Packard when you registered.
  152.  
  153. Step 11:  At the "ftp>" prompt, set the transfer mode to binary by
  154. typing "bin".  You should get a message "Type set to I".
  155.  
  156. Step 12:  At the "ftp>" prompt, cd to "hp-ux_patches".  Then cd to the
  157. directory named for your type of architecture (s300_400, s700, or
  158. s800).  Then cd to "8.X".
  159.  
  160. Step 13:  At the "ftp>" prompt, type "get PHNE_xxxx" (where xxxx is
  161. 1359, 1360, or 1361 - depending on the architecture of your host(s)).
  162.  
  163. For category 3:
  164. ---------------
  165. Step 1: Dial 415-691-3680.
  166.  
  167. Step 2: Type "hpslreg" at the "login:" prompt to begin the
  168. registration process. 
  169.  
  170. Step 3: Follow the instructional prompts.
  171.  
  172. Step 4: Once you have received your HP SupportLine system handle and 
  173. password, follow the directions in category 1) or 2), depending on
  174. your preferred access method.
  175.  
  176.  
  177. ===========================================================================
  178. Patch Installation Instructions 
  179.  
  180. Item Subject: PHNE_1359.text
  181. Patch Name:  PHNE_1359
  182.  
  183. Patch Description: ypbind that only accepts ypset from local host
  184.  
  185. This patch provides a special version of ypbind that only accepts
  186. ypset requests from the local host.  This prevents a superuser on a
  187. remote system from issuing a ypset -h command to the local system to
  188. create a rogue ypserver.
  189.  
  190. Path Name:  /hp-ux_patches/s300_400/8.X/PHNE_1359
  191.  
  192. Effective Date:  920810
  193.  
  194. Patch Files:
  195.     ypbind
  196.  
  197. SR#:  1650-172619
  198.  
  199. "what" string/timestamp:
  200.     ypbind
  201.         ypbind:  $Revision:  1.43.108.1.1.1 $ $Date:  91/12/12 18:10:30
  202.         $
  203.  
  204. "sum" output:
  205.     46857 200 ypbind
  206.  
  207. Dependencies:  None.
  208.  
  209. Supersedes:  None.
  210.  
  211. Patch Package Size:  134 Kbytes
  212.  
  213. Installation Instructions: 
  214.  
  215.      Please review all instructions and the Hewlett-Packard
  216.      SupportLine User Guide or your Hewlett-Packard support terms
  217.      and conditions for precautions, scope of license,
  218.      restrictions, and, limitation of liability and warranties,
  219.      before installing this patch.
  220.  
  221.      Note: Please back up your system before you patch.
  222.  
  223. ---------------------------------------------------------------------------
  224. After getting the patch onto your machine, unshar the patch 
  225. (sh PHNE_1359). 
  226.  
  227. To install this patch do the following:
  228. 1) Run the update program (Note: you must be logged in as root to
  229.    update a system).
  230. 2) Once in the update "Main Menu" move the highlighted line to "Change 
  231.    Source or Destination ->" and press "Return" or "Select Item".
  232. 3) Make sure the highlighted item in the "Change Source or
  233.    Destination" window is "From Tape Device to Local System ...", then
  234.    press "Return" or "Select Item".
  235. 4) You should now be in the "From Tape Device to Local System" window. 
  236.    Change the "Source:  /dev/rmt/0m" to "Source: /tmp/PHNE_1359.updt" 
  237.    (this assumes that you are in the /tmp directory where
  238.    PHNE_1359.updt has been placed).  Note: You must enter the complete
  239.    path name. 
  240. 5) Press "Done".
  241. 6) From here on follow the standard directions for update.
  242.  
  243. The customized script that update runs will move the original software 
  244. to /system/PHNE_1359/orig.  HP recommends keeping this software there
  245. in order to recover from any potential problems.  It is also
  246. recommended that you move the PHNE_1359.text file to /system/PHNE_1359
  247. to be retained for future reference.
  248.  
  249. If you wish to put this patch on a magnetic tape and update from the
  250. tape drive, dd a copy of the patch to the tape drive.  As an example
  251. the following will create a copy of the patch that update can read: 
  252. dd if=PHNE_1359.updt of=/dev/rmt/0m bs=2048
  253.  
  254. .......................................................................
  255.  
  256. Item Subject: PHNE_1360.text
  257. Patch Name:  PHNE_1360
  258.  
  259. Patch Description: ypbind that only accepts ypset from local host
  260.  
  261. This patch provides a special version of ypbind that only accepts
  262. ypset requests from the local host.  This prevents a superuser on a
  263. remote system from issuing a ypset -h command to the local system to
  264. create a rogue ypserver.
  265.  
  266. Path Name:  /hp-ux_patches/s700/8.X/PHNE_1360
  267.  
  268. Effective Date:  920810
  269.  
  270. Patch Files:
  271.     ypbind
  272.  
  273. SR#:  1650-172619
  274.  
  275. "what" string/timestamp:
  276.     ypbind
  277.         ypbind:  $Revision:  1.43.108.1.1.1 $ $Date:  91/12/12 18:10:30
  278.         $
  279.  
  280. "sum" output:
  281.     48068 256 ypbind
  282.  
  283. Dependencies:  None.
  284.  
  285. Supersedes:  None.
  286.  
  287. Patch Package Size:  164 Kbytes
  288.  
  289. Installation Instructions: 
  290.  
  291.      Please review all instructions and the Hewlett-Packard
  292.      SupportLine User Guide or your Hewlett-Packard support terms
  293.      and conditions for precautions, scope of license,
  294.      restrictions, and, limitation of liability and warranties,
  295.      before installing this patch.
  296.  
  297.      Note: Please back up your system before you patch.
  298.  
  299. ---------------------------------------------------------------------------
  300. After getting the patch onto your machine, unshar the patch 
  301. (sh PHNE_1360).
  302.  
  303. To install this patch do the following:
  304. 1) Run the update program (Note: you must be logged in as root to
  305.    update a system).
  306. 2) Once in the update "Main Menu" move the highlighted line to "Change 
  307.    Source or Destination ->" and press "Return" or "Select Item".
  308. 3) Make sure the highlighted item in the "Change Source or
  309. Destination" window is "From Tape Device to Local System ...", then
  310.    press "Return" or "Select Item".
  311. 4) You should now be in the "From Tape Device to Local System" window. 
  312.    Change the "Source:  /dev/rmt/0m" to "Source: /tmp/PHNE_1360.updt" 
  313.    (this assumes that you are in the /tmp directory where
  314.    PHNE_1360.updt has been placed).  Note: You must enter the complete
  315.    path name. 
  316. 5) Press "Done".
  317. 6) From here on follow the standard directions for update.
  318.  
  319. The customized script that update runs will move the original software 
  320. to /system/PHNE_1360/orig.  HP recommends keeping this software there
  321. in order to recover from any potential problems.  It is also
  322. recommended that you move the PHNE_1360.text file to /system/PHNE_1360
  323. to be retained for future reference.
  324.  
  325. If you wish to put this patch on a magnetic tape and update from the
  326. tape drive, dd a copy of the patch to the tape drive.  As an example
  327. the following will create a copy of the patch that update can read: 
  328. dd if=PHNE_1360.updt of=/dev/rmt/0m bs=2048
  329.  
  330. .......................................................................
  331.  
  332. Item Subject: PHNE_1361.text
  333. Patch Name:  PHNE_1361
  334.  
  335. Patch Description: ypbind that only accepts ypset from local host
  336.  
  337. This patch provides a special version of ypbind that only accepts
  338. ypset requests from the local host.  This prevents a superuser on a
  339. remote system from issuing a ypset -h command to the local system to
  340. create a rogue ypserver.
  341.  
  342. Path Name:  /hp-ux_patches/s800/8.X/PHNE_1361
  343.  
  344. Effective Date:  920810
  345.  
  346. Patch Files:
  347.     ypbind
  348.  
  349. SR#:  1650-172619
  350.  
  351. "what" string/timestamp:
  352.     ypbind
  353.         ypbind:  $Revision:  1.43.108.1.1.1 $ $Date:  91/12/12 18:10:30
  354.         $
  355.  
  356. "sum" output:
  357.     48068 256 ypbind
  358.  
  359. Dependencies:  None.
  360.  
  361. Supersedes:  None.
  362.  
  363. Patch Package Size:  164 Kbytes
  364.  
  365. Installation Instructions: 
  366.  
  367.      Please review all instructions and the Hewlett-Packard
  368.      SupportLine User Guide or your Hewlett-Packard support terms
  369.      and conditions for precautions, scope of license,
  370.      restrictions, and, limitation of liability and warranties,
  371.      before installing this patch.
  372.  
  373.      Note: Please back up your system before you patch.
  374.  
  375. ---------------------------------------------------------------------------
  376. After getting the patch onto your machine, unshar the patch 
  377. (sh PHNE_1361). 
  378.  
  379. To install this patch do the following:
  380. 1) Run the update program (Note: you must be logged in as root to
  381.    update a system).
  382. 2) Once in the update "Main Menu" move the highlighted line to "Change 
  383.    Source or Destination ->" and press "Return" or "Select Item".
  384. 3) Make sure the highlighted item in the "Change Source or
  385.    Destination" window is "From Tape Device to Local System ...", then
  386.    press "Return" or "Select Item".
  387. 4) You should now be in the "From Tape Device to Local System" window. 
  388.    Change the "Source:  /dev/rmt/0m" to "Source: /tmp/PHNE_1361.updt" 
  389.    (this assumes that you are in the /tmp directory where
  390.    PHNE_1361.updt has been placed).  Note: You must enter the complete
  391.    path name. 
  392. 5) Press "Done".
  393. 6) From here on follow the standard directions for update.
  394.  
  395. The customized script that update runs will move the original software 
  396. to /system/PHNE_1361/orig.  HP recommends keeping this software there
  397. in order to recover from any potential problems.  It is also
  398. recommended that you move the PHNE_1361.text file to /system/PHNE_1361
  399. to be retained for future reference.
  400.  
  401. If you wish to put this patch on a magnetic tape and update from the
  402. tape drive, dd a copy of the patch to the tape drive.  As an example
  403. the following will create a copy of the patch that update can read:  
  404. dd if=PHNE_1361.updt of=/dev/rmt/0m bs=2048
  405.  
  406. ============================================================================
  407.                  End of Text provided by Hewlett-Packard
  408. ============================================================================
  409.  
  410. -----------------------------------------------------------------------------
  411. The CERT Coordination Center wishes to thank Brian Kelley of Ford
  412. Motor Company for bringing this vulnerability to our attention.  We
  413. would also like to thank Hewlett-Packard for their response to this
  414. problem. 
  415. -----------------------------------------------------------------------------
  416.  
  417. If you believe that your system has been compromised, contact the CERT
  418. Coordination Center or your representative in FIRST (Forum of Incident
  419. Response and Security Teams). 
  420.  
  421. Internet E-mail: cert@cert.org
  422. Telephone: 412-268-7090 (24-hour hotline)
  423.            CERT personnel answer 7:30 a.m.-6:00 p.m. EST(GMT-5)/EDT(GMT-4),
  424.            on call for emergencies during other hours.
  425.  
  426. CERT Coordination Center
  427. Software Engineering Institute
  428. Carnegie Mellon University
  429. Pittsburgh, PA 15213-3890
  430.  
  431. Past advisories, information about FIRST representatives, and other
  432. information related to computer security are available for anonymous ftp
  433. from cert.org (192.88.209.5).
  434.  
  435.